package com.woniu.cms.finance.core.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 项目列帐总表
 * </p>
 *
 * @author kiron
 * @since 2022-09-19
 */
@Getter
@Setter
  @TableName("cms_finance_accounting")
@ApiModel(value = "FinanceAccounting对象", description = "项目列帐总表")
public class FinanceAccounting implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("列帐id")
        @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty("经办人")
      private String operator;

      @ApiModelProperty("经办日期")
      private Date manageDate;

      @ApiModelProperty("项目编号（外键）")
      private Integer projectNum;

      @ApiModelProperty("项目金额")
      private BigDecimal projectAmount;

      @ApiModelProperty("结算金额")
      private BigDecimal settlementAmount;

      @ApiModelProperty("累计列帐")
      private BigDecimal cumulativeAccounting;

      @ApiModelProperty("已开票金额")
      private BigDecimal invoiceCount;

      @ApiModelProperty("已收款金额")
      private BigDecimal receiptCount;

      @ApiModelProperty("本次列帐金额")
      private BigDecimal thisAccounting;

      @ApiModelProperty("备注")
      private String remarks;

      @ApiModelProperty("列账单状态 审批状态 0-未提交，1-已提交（审批中），2-审批通过，3-已驳回")
      private Integer accountingStatus;

      @ApiModelProperty("到账金额")
      private BigDecimal arrivalAmount;

      @ApiModelProperty("列帐日期")
      private Date accountingDate;

      @ApiModelProperty("内部合同编号")
      private String innerContractNum;


}
